import { Controller, Get } from '@nestjs/common';
import { AccountService } from '../../services/account/account.service';

@Controller('account')
export class AccountController {
  constructor(private readonly accountsService: AccountService) {}

  @Get()
  async accountList(): Promise<any> {
    return await this.accountsService.accountList();
  }
}
